package model

import "gorm.io/gorm"

type Repo struct {
	gorm.Model
	RepoCode    string `gorm:"type:varchar(30);comment:仓库编码"`
	RepoName    string `gorm:"type:varchar(30);comment:仓库名称"`
	RepoAddress string `gorm:"type:varchar(30);comment:仓库地址"`
}
type Shop struct {
	gorm.Model
	ShopCode    string `gorm:"type:varchar(30);comment:门店编码"`
	ShopName    string `gorm:"type:varchar(30);comment:门店名称"`
	ShopAddress string `gorm:"type:varchar(30); comment:门店地址"`
}
type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"`
	Password string `gorm:"type:varchar(30)"`
}
